Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding logs to analyse OTP generation API 5xx issue in production #69

Closed
wants to merge 1 commit into from
Closed

Adding logs to analyse OTP generation API 5xx issue in production #69

wants to merge 1 commit into from

Conversation

sreeragksgh
Copy link

No description provided.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

sendOTP(request, otp, key, request.getRequestContext());

try {
sendOTP(request, otp, key, request.getRequestContext());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this method doesn't return any exception - why try catch here

@@ -65,10 +65,11 @@ else if (ActorOperations.VERIFY_OTP_V3.getValue().equals(request.getOperation())
}

private void generateOTP(Request request) {
logger.debug(request.getRequestContext(), "OTPActor:generateOTP method call start.");
logger.info(request.getRequestContext(), "OTPActor:generateOTP method call start.");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the logs are unnecessary in this class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants